#define _CRT_SECURE_NO_WARNINGS 1
#include"binaryTree.h"
#include"BTTree.h"
int main()
{
	DataType test[10] = { 1,3,5,7,9,2,4,6,8,0 };
	HP testHP;
	HeapInit(&testHP);
	for (int i = 0; i < sizeof(test) / sizeof(DataType); i++)
	{
		HeapPush(&testHP,test[i]);
	}
	HeapPrint(&testHP);
	printf("%d\n", HeapSize(&testHP));
	HeapPop(&testHP);
	HeapPrint(&testHP);
	HeapDestory(&testHP);
}
/*int main()
{
	BT* node1 = BuyNode(1);
	BT* node2 = BuyNode(2);
	BT* node3 = BuyNode(3);
	BT* node4 = BuyNode(4);
	BT* node5 = BuyNode(5);
	node1->left = node2;
	node2->left = node4;
	node2->right = node5;
	node1->right = node3;
	PreOrder(node1);
	printf("\n");
	InOrder(node1);
}*/